package ogl.tests;

import static org.junit.Assert.*;
import ogl.TroopCrawler;

import org.junit.Test;

public class TroopCrawlerTest {

	@Test
	public void testMove() {
		TroopCrawler t = new TroopCrawler(12.3f, 10.12f);
		t.move(22.13f, 12.23f);
		assertTrue(t.getX() == 22.13f);
		assertTrue(t.getY() == 12.23f);
	}

	@Test
	public void testTroopCrawler() {
		TroopCrawler t = new TroopCrawler(22, 22);
		assertNotNull(t);
	}

}
